package com.itheima.service;


import com.itheima.pojo.Brand;
import com.itheima.util.PageResult;
import com.itheima.util.Result;

import java.util.List;

public interface BrandService {
    PageResult findPage(int page, int size);

    List<Brand> findAll();

    void update(Brand brand);

    void delete(String id);

    Result findList(String search);

    Result add(Brand brand);

    Result findById(Integer brandId);
}
